﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("sys_roleauth")]
    public class SysRoleauth
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Auth_Id", IsPrimaryKey = true, IsIdentity = true)]
        public int AuthId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AuthValue")]
        public string AuthValue { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string Creator { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Menu_Id")]
        public int MenuId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Modifier")]
        public string Modifier { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ModifyDate")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "Role_Id")]
        public int? RoleId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "User_Id")]
        public int? UserId { get; set; }
    }
}